home *** CD-ROM | disk | FTP | other *** search
- Path: canopus.cc.umanitoba.ca!natewild
- From: natewild@mbnet.mb.ca (Nathan T. Wild)
- Newsgroups: comp.lang.c++
- Subject: Dynamic Array Allocation With new/delete
- Date: Fri, 02 Feb 1996 02:33:18 -0500
- Organization: WankerNET - Digital TimeWasters Inc.
- Message-ID: <+4bExc9nXQoO083yn@mbnet.mb.ca>
- NNTP-Posting-Host: access.mbnet.mb.ca
- Originator: natewild@access.mbnet.mb.ca
-
- Please forgive me if this is a frequent question, if so... please fell
- free to direct me to a FAQ that answers it.
-
- I want to create an array to objects at run time, but I won't know the
- number of objects in advance.
-
- I know I could malloc (Num * sizeof(TObject)) but I would prefer to use
- new/delete not malloc/free.
-
- I don't have access to this newsgroup, so if possible, please respond via
- email. I will post a follow up if I get good responses...
-
- Thanks in advance...
-
-
- |--------------------------------------------------------------------|
- | ooooO (``) (``) Ooooo | Nathan T. Wild |
- | ( ) ) ( ) ( ( ) | natewild@mbnet.mb.ca |
- | ) ( ( ) ( ) ) ( | ftp://ftp.mbnet.mb.ca/pub/natewild |
- | (__) ooooO Ooooo (__) | http://www.mbnet.mb.ca/~natewild |
- |--------------------------------------------------------------------|
-